package com.wx.activitys.drp.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wx.activitys.drp.mapper.BGradeMapper;
import com.wx.activitys.drp.model.BGrade;
import com.wx.activitys.drp.model.BUserInfo;
import com.wx.activitys.drp.service.BGradeService;
@Service("/BGradeService")
public class BGradeServiceImpl implements BGradeService {
	@Autowired
	private BGradeMapper bGradeMapper;

	@Override
	public int insert(BGrade bGrade) {
		return bGradeMapper.insert(bGrade);
	}

	@Override
	public int update(BGrade bGrade) {
		return bGradeMapper.update(bGrade);
	}

	@Override
	public List<BUserInfo> queryPageList(BGrade bGrade) {
		return bGradeMapper.queryPageList(bGrade);
	}

	@Override
	public List<BGrade> selectByEntity(BGrade bGrade) {
		return bGradeMapper.selectByEntity(bGrade);
	}

	@Override
	public int count(BGrade bGrade) {
		return bGradeMapper.count(bGrade);
	}

	

}
